<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%><%@page import="com.zpyr.mvc.vo.Carc_user_info"%><%@page import="java.lang.reflect.Method"%><%@page import="com.zpyr.mvc.vo.Carc_info"%><%@page import="java.util.List"%><%@page import="com.zpyr.common.StringUtil"%><%
%><?xml version="1.0" encoding="UTF-8"?>
<%
	response.setHeader("Access-Control-Allow-Origin", "*");
%>
<itemList>
<%
	List<Carc_user_info> list = (List<Carc_user_info>) request.getAttribute("carc_user_list");
	if(list != null) {
		String tagName = "";
		Object value = "";
		for( Carc_user_info cui : list ) {
%>
<item>
<%
			Method[] ms = cui.getClass().getDeclaredMethods();
			
			for( Method m : ms ) {
				tagName = m.getName().substring(3).toLowerCase();
				if(m.getName().startsWith("get") && m.getGenericParameterTypes().length == 0 ) {
					
					value = m.invoke(cui , null);
					value = value == null? "" : value;
%>
	<<%=tagName %>><%=value %></<%=tagName %>>
<%
				}
			}
%>
</item>
<%
		}
	}
%>
</itemList>